﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Base.Api.Models
{
    public class DepartmentModel
    {
        public string Id { get; set; }

        public string Code { get; set; }

        public string Name { get; set; }

        public string Remark { get; set; }

        public bool IsLine { get; set; }

        /// <summary>
        /// 部门负责人
        /// </summary>
        public string UserId { get; set; }

        /// <summary>
        /// 兼岗负责人
        /// </summary>
        public string AliasUserId { get; set; }

        public string ParentId { get; set; }

        public string OrgId { get; set; }

        public bool IsStatis { get; set; }

        public List<DepartmentUserModel> DepartmentUserModels { get; set; } = new List<DepartmentUserModel>();
    }
}
